
package com.feib.soeasy.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * @title (#)WebAtmLog.java<br>
 * @description <br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/3/27 create by Jimmy Liu<br>
 */
@Entity
@Table(name = "WEB_ATM_LOG")
public class WebAtmLog extends BaseEntity {

    private static final long serialVersionUID = -4414302098272517480L;
    
    private Long webAtmLogPk;
    
    /**
     * 交易日期 </br>
     * ex:100-03-21 10:11:26
     */
    private String sysDateTime;
    
    /**
     * 繳費名稱或代號</br>
     */
    private String channelType;
    
    /**
     * 銷帳編號/繳款號碼</br>
     */
    private String cancelNo;
    
    /**
     * 轉出帳號</br>
     * ex:805-0000100400309371
     */
    private String trnAcct;
    
    /**
     * 金額</br>
     */
    private String txAmt;
    
    /**
     * 手續貰</br>
     */
    private String handleCharge;
    
    /**
     * 交易序號</br>
     * ex:62006
     */
    private String winnerNum;
    
    /**
     * 處理結果</br>
     * 1: 正常</br>
     * 2: 異常</br>
     */
    private Integer processStatus;
    
    /**
     * 備註
     */
    private String logNote;
    
    private Date createdDate;

    
    /**
     * @return the webAtmLogPk
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name="WEB_ATM_LOG_PK", nullable=false)
    public Long getWebAtmLogPk() {
        return webAtmLogPk;
    }

    
    /**
     * @param webAtmLogPk the webAtmLogPk to set
     */
    public void setWebAtmLogPk(Long webAtmLogPk) {
        this.webAtmLogPk = webAtmLogPk;
    }

    
    /**
     * @return the sysDateTime
     */
    @Column(name="SYS_DATE_TIME", length=50)
    public String getSysDateTime() {
        return sysDateTime;
    }

    
    /**
     * @param sysDateTime the sysDateTime to set
     */
    public void setSysDateTime(String sysDateTime) {
        this.sysDateTime = sysDateTime;
    }

    
    /**
     * @return the channelType
     */
    @Column(name="CHANNEL_TYPE", length=50)
    public String getChannelType() {
        return channelType;
    }

    
    /**
     * @param channelType the channelType to set
     */
    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    
    /**
     * @return the cancelNo
     */
    @Column(name="CANCEL_NO", length=50)
    public String getCancelNo() {
        return cancelNo;
    }

    
    /**
     * @param cancelNo the cancelNo to set
     */
    public void setCancelNo(String cancelNo) {
        this.cancelNo = cancelNo;
    }

    
    /**
     * @return the trnAcct
     */
    @Column(name="TRN_ACCT", length=50)
    public String getTrnAcct() {
        return trnAcct;
    }

    
    /**
     * @param trnAcct the trnAcct to set
     */
    public void setTrnAcct(String trnAcct) {
        this.trnAcct = trnAcct;
    }

    
    /**
     * @return the txAmt
     */
    @Column(name="TX_AMT", length=50)
    public String getTxAmt() {
        return txAmt;
    }

    
    /**
     * @param txAmt the txAmt to set
     */
    public void setTxAmt(String txAmt) {
        this.txAmt = txAmt;
    }

    
    /**
     * @return the handleCharge
     */
    @Column(name="HANDLE_CHARGE", length=50)
    public String getHandleCharge() {
        return handleCharge;
    }

    
    /**
     * @param handleCharge the handleCharge to set
     */
    public void setHandleCharge(String handleCharge) {
        this.handleCharge = handleCharge;
    }

    
    /**
     * @return the winnerNum
     */
    @Column(name="WINNER_NUM", length=50)
    public String getWinnerNum() {
        return winnerNum;
    }

    
    /**
     * @param winnerNum the winnerNum to set
     */
    public void setWinnerNum(String winnerNum) {
        this.winnerNum = winnerNum;
    }

    
    /**
     * @return the processStatus
     */
    @Column(name="PROCESS_STATUS")
    public Integer getProcessStatus() {
        return processStatus;
    }

    
    /**
     * @param processStatus the processStatus to set
     */
    public void setProcessStatus(Integer processStatus) {
        this.processStatus = processStatus;
    }

    
    /**
     * @return the createdDate
     */
    @Column(name="CREATED_DATE")
    public Date getCreatedDate() {
        return createdDate;
    }

    
    /**
     * @param createdDate the createdDate to set
     */
    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }


    
    /**
     * @return the logNote
     */
    @Column(name="LOG_NOTE", length=50)
    public String getLogNote() {
        return logNote;
    }


    
    /**
     * @param logNote the logNote to set
     */
    public void setLogNote(String logNote) {
        this.logNote = logNote;
    }

}
